<!-- 商品保障 -->
<template>
	<view class="guarantee">
		<view class="guarantee_list">
			<view class="guarantee_li" v-for="(exit,index) in guaranteeList" :key="index">
				<text :class="['iconfont','research',exit.iconClass]"></text>
				<text class="research_text">{{exit.name}}</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "guarantee",
		data() {
			return {
				guaranteeList:[
					{
						id:0,
						iconClass:'icon-yanfa',
						name:'自主研发'
					},
					{
						id:1,
						iconClass:'icon-dingzhijiagong',
						name:'非标定制'
					},
					{
						id:2,
						iconClass:'icon-a-18zhongshenbaoxiu',
						name:'终身保修'
					},
					{
						id:3,
						iconClass:'icon-shouye-shunfengbaoyou',
						name:'顺丰包邮'
					},
					{
						id:4,
						iconClass:'icon-tuihuanhuo',
						name:'90天无理由退货'
					},
				]
			};
		}
	}
</script>

<style scoped>
	.guarantee {
		width: 100%;
		padding: 20px auto 0;
		height: 200px;
		display: flex;
		background-color: #F5F5F5;
	}

	.guarantee_list {
		width: 1230px;
		min-width: 1360px;
		height: 100px;
		margin: auto;
		display: flex;
		justify-content: space-between;
	}

	.guarantee_li {
		width: 150px;
		height: 100px;
		display: flex;
		flex-direction: column;
		transition: transform 0.3s ease;
	}
	.guarantee_li:hover {
		background-color: #FFF;
		box-shadow: 0 2px 18px 3px rgba(0, 0, 0, 0.3);
		transform: scale(1.2);
		border-radius: 6px;
	}

	.research {
		font-size: 46px;
		color: #E60012;
		margin: 10px auto 0;
	}

	.research_text {
		color: #a1a1a1;
		margin: 10px auto;
		font-size: 14px;
	}
</style>